<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class AdminUsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('admin_users')->delete();

        DB::table('admin_users')->insert([
            [
                'username' => 'admin',
                'password' => bcrypt('yanli2016'),
                'name' => '超级管理员',
                'avatar' => 'http',
            ]
        ]);
    }
}
